package hang.xipujewelWeb.service.account;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import hang.xipujewelWeb.entity.account.Role;
import hang.xipujewelWeb.repository.jpa.RoleDao;
import hang.xipujewelWeb.service.common.JpaManager;

/**
 * 角色管理类.
 */
@Component
@Transactional
public class RoleManager extends JpaManager<Role, RoleDao> {
	@Autowired
	private RoleDao roleDao;
	@Override
	protected RoleDao getDao() {
		return roleDao;
	}
}
